﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Volume.cs" company="Matthias Friedrich">
//   Copyright © Matthias Friedrich 2009
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

namespace DeviceManagement
{
	public class Volume
	{
		private readonly DEV_BROADCAST_VOLUME volume;

		internal Volume(DEV_BROADCAST_VOLUME v)
		{
			this.volume = v;
		}

		public string DriveLetter
		{
			get
			{
				return this.volume.GetDriveLetter();
			}
		}

		public bool IsMedia()
		{
			return this.volume.IsMedia();
		}

		public bool IsNetworkVolume()
		{
			return this.volume.IsNetworkVolume();
		}

		public bool IsPhysicalDeviceOrDrive()
		{
			return this.volume.IsPhysicalDeviceOrDrive();
		}
	}
}